﻿using JshRCSWebApi.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace JshRCSWebApi.Infrastructure.Domain.VO.SysService
{
    public class MenuSearchVO : Language
    {
        [JsonIgnore]
        public long ID { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 路径
        /// </summary>
        public string path { get; set; }
        /// <summary>
        /// 组件
        /// </summary>
        public string component { get; set; }
        /// <summary>
        /// 重定向路径
        /// </summary>
        public string redirect { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string icon { get; set; }
        public List<MenuSearchVO> children { get; set; }
        public meta meta { get; set; }
    }
}

public class meta : Language
{
    public string title { get; set; }
    public string icon { get; set; }
}
